AutoStow has twin lift-related penalties that encourage the selection of twin containers from the same yard section (PENTWI (on page 1)) and/or the same block (PENTWB (on page 1)). You can choose to prioritize these conditions in relation to others by changing the penalty values respectively. The higher the penalty, the more likely those containers will be chosen that do not violate that penalty condition.
These penalties are considered only after defining twinned projections on the vessel.